#include <Vehicle.h>
Inheritance diagram for Vehicle:

Public Member Functions | |
| Vehicle () | |
| Vehicle (string pathname, float scale) | |
| void | draw (osg::ref_ptr< osg::Group > root, int animationFlag=-1) |
| void | deletePath () |
| Path * | getPath () |
| void | setPath () |
| void | hidePath (osg::ref_ptr< osg::Group > root) |
| void | displayPath (osg::ref_ptr< osg::Group > root) |
| void | drawPath (osg::ref_ptr< osg::Group > root) |
| void | reload (osg::ref_ptr< osg::Group > root, int animationFlag=-1) |
| void | setWheels (osg::ref_ptr< osg::Group > root) |
| void | setPositionAll (float x, float y, float z) |
Public Attributes | |
| Wheel | wheelObjects [4] |
Private Attributes | |
| Path | path |
|
|
A constructor. default constructor. |
|
||||||||||||
|
A constructor.
|
|
|
a normal member . delete the path of the vehicle |
|
|
a normal member .
|
|
||||||||||||
|
a normal member taking two arguments.
Implements TraffEduObject. |
|
|
a normal member .
|
|
|
a normal member .
|
|
|
a normal member .
|
|
||||||||||||
|
a normal member taking two arguments .
|
|
|
Setter for the Path. |
|
||||||||||||||||
|
a normal member .
|
|
|
a normal member .
|
|
|
|
|
|
a public variable. vehicle has wheel objects, which are initiated at the begining of animation. |
1.4.6-NO